package com.ap.generator.distributor;

import com.ap.core.cxf.jaxb.rtp.AbstractDetailMerchantInfoTypeGeneratorBuilder;

import static com.ap.datagen.core.GeneratorHelper.buildA;
import static com.ap.datagen.core.Nullable.nullable;
import static com.ap.generator.common.AddressMandatoryCountryCodeGeneratorBuilder.getAddressMandatoryCountryCodeGenerator;
import static com.ap.generator.rtp.MerchantInfoTypeGeneratorBuilder.getMerchantInfoTypeGenerator;

public class DetailMerchantInfoGeneratorBuilder extends
		AbstractDetailMerchantInfoTypeGeneratorBuilder {

	@Override
	public void setupDefaults() {
		// TODO Auto-generated method stub
		this.merchantInfoGenerator = nullable(buildA(getMerchantInfoTypeGenerator()));
        this.merchantAddressGenerator=nullable(buildA(getAddressMandatoryCountryCodeGenerator()));
	}

	public static DetailMerchantInfoGeneratorBuilder getDetailMerchantInfoGenerator() {
		return new DetailMerchantInfoGeneratorBuilder();
	}
}
